﻿using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using System.Text;

using Ordinaire.Db;

namespace Ordinaire.Business.FoodBeverage
{
    /// <summary>
    /// FbContext is a derived class of Ordinaire.Db.OContext for this module.
    /// </summary>
    public class FbContext : OContext
    {
        /// <summary>
        /// Constructor.
        /// </summary>
        public FbContext(string fileOrServerOrConnection) : base(fileOrServerOrConnection) { }

        /// <summary>
        /// Returns a representation of table "SaleItem".
        /// </summary>
        //public ITable<Sales.Data.GoodData> SaleItems
        //{
        //    get { return GetTable<Sales.Data.SaleItem>(); }
        //}

        /// <summary>
        /// Returns a representation of table "SaleItemTag".
        /// </summary>
        public ITable<Taxonomy.Data.SaleItemTag> SaleItemTags
        {
            get { return GetTable<Taxonomy.Data.SaleItemTag>(); }
        }
    }
}
